import request from '@/common/request.js';
const api = {};

//新增交班
// api.NewShift = params => request.globalRequest("/api/services/app/Frame/CreateHandover", 'POST', params, 1)
api.NewShift = params => request.globalRequest("/api/services/app/Frame/CreateHandover", 'POST', params, 2)

//值班时段
api.GetCall = params => request.globalRequest("/api/services/app/Frame/GetPeriodToday", 'GET', params, 2)

export default api
